package com.ucombuy.sponsor.service;

import com.ucombuy.sponsor.vo.*;
import com.uocmbuy.adver.common.exception.AdverException;

/**
 * Created by yaosheng on 2021/3/27.
 */
public interface IAdUnitService {

    /**
     * 创建推广单元
     */
    AdUnitResponse createUnit(AdUnitRequest request) throws AdverException;

    /**
     * 创建推广单元的关键词限制
     */
    AdUnitKeywordResponse createUnitKeyword(AdUnitKeywordRequest request) throws AdverException;

    /**
     * 创建推广单元的兴趣限制
     */
    AdUnitItResponse createUnitIt(AdUnitItRequest request) throws AdverException;

    /**
     * 创建推广单元的区域限制
     */
    AdUnitDistrictResponse createUnitDistrict(AdUnitDistrictRequest request) throws AdverException;

    /**
     * 创建推广单元与创意关联功能
     */
    CreativeUnitResponse createCreativeUnit(CreativeUnitRequest request) throws AdverException;
}
